<%@ page language="java" contentType="text/html; charset=UTF-8" 
 session="false" isErrorPage="true" pageEncoding="UTF-8"%>
<%
  String contextPath = request.getContextPath();
  String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+contextPath+"/";
%>
<!DOCTYPE html>
<html>
<head>
<meta content="UTF-8">
<title>500服务器内部错误</title>
</head>
<body>
500服务器内部错误
<a href="<%=basePath%>">回首页</a>
</body>
</html>